package zzxy.factory;

import org.omg.CORBA.Object;
import zzxy.aspect.MyAspect;
import zzxy.spring34.service.IStudentService;
import zzxy.spring34.service.impl.StudentServiceImpl;

import java.lang.reflect.Method;
import java.lang.reflect.Proxy;

public class MyBeanFactory {
    public static IStudentService createStudentServiceProxy(){
        StudentServiceImpl studentService = new StudentServiceImpl();
        MyAspect aspect = new MyAspect();
        IStudentService studentServiceProxy = (IStudentService) Proxy.newProxyInstance(MyBeanFactory.class.getClassLoader(),studentService.getClass().getInterfaces().);


    }
}
